﻿<%@ Page Language="C#" MasterPageFile="~/education.master" AutoEventWireup="true" CodeFile="eduquestion.aspx.cs" Inherits="eduquestion" Title="题库添加题目" %>

<%@ Register Assembly="Infragistics2.WebUI.Misc.v7.3, Version=7.3.20073.38, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb"
    Namespace="Infragistics.WebUI.Misc" TagPrefix="igmisc" %>    
<asp:Content ID="Content1" ContentPlaceHolderID="EduContent" Runat="Server">
    <igmisc:WebPanel ID="WebPanelquestion" runat="server" CssClass="igwpMainSilver2k7" Height="100%"
        Width="100%">
        <PanelStyle CssClass="igwpPanelSilver2k7">
        </PanelStyle>
        <Header Text="添加题库题目">
            <ExpandedAppearance>
                <Styles CssClass="igwpHeaderExpandedSilver2k7">
                </Styles>
            </ExpandedAppearance>
            <HoverAppearance>
                <Styles CssClass="igwpHeaderHoverSilver2k7">
                </Styles>
            </HoverAppearance>
            <CollapsedAppearance>
                <Styles CssClass="igwpHeaderCollapsedSilver2k7">
                </Styles>
            </CollapsedAppearance>
        </Header> 
        
        <Template>
            <table border="1" cellpadding="1" cellspacing="1" style="width: 100%; height: 100%">
                <tr>
                    <td colspan="2">
                    </td>
                </tr>
                <tr>
                    <td style="width: 70px;" align="left" valign="top">
                        <asp:Label ID="Label3" runat="server" Text="题目内容"></asp:Label></td>
                    <td style="height: 94px" align="left">
                        <asp:TextBox ID="txtqproblem" runat="server" Height="160px" Width="503px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="ralrqproblem" runat="server" ControlToValidate="txtqproblem"
                            ErrorMessage="必填项" ValidationGroup="question"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                    </td>
                    <td align="left">
                        <asp:Label ID="Label11" runat="server" Text="备注：200个字符。"></asp:Label></td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                        <asp:Label ID="Label5" runat="server" Text="选择A"></asp:Label></td>
                    <td align="left">
                        <asp:TextBox ID="txtqanswerA" runat="server" Width="400px"></asp:TextBox>
                        <asp:RequiredFieldValidator ID="ralrqanswerA" runat="server" ControlToValidate="txtqanswerA"
                            ErrorMessage="必填项" ValidationGroup="question"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                        <asp:Label ID="Label8" runat="server" Text="选择B"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtqanswerB" runat="server" Width="400px"></asp:TextBox>
                        </td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                        <asp:Label ID="Label6" runat="server" Text="选择C"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtqanswerC" runat="server" Width="400px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                        <asp:Label ID="Label9" runat="server" Text="选择D"></asp:Label>
                    </td>
                    <td align="left">
                        <asp:TextBox ID="txtqanswerD" runat="server" Width="400px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                        <asp:Label ID="Label7" runat="server" Text="题目答案"></asp:Label></td>
                    <td align="left" valign="middle">
                        <asp:RadioButtonList ID="RadioButtonListaq" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem>A</asp:ListItem>
                            <asp:ListItem>B</asp:ListItem>
                            <asp:ListItem>C</asp:ListItem>
                            <asp:ListItem>D</asp:ListItem>
                        </asp:RadioButtonList>
                        <asp:RequiredFieldValidator ID="valr" runat="server" ControlToValidate="RadioButtonListaq"
                            ErrorMessage="必须选择答案" ValidationGroup="question"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td align="left" style="width: 70px">
                    </td>
                    <td align="left" valign="middle">
                        </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                    <asp:Button ID="btnnewq" runat="server" Text="重  置" OnClick="btnnewq_Click" 
                            ValidationGroup="question" />
                        &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;
            <asp:Button ID="btneduquestion" runat="server" Text="提  交" OnClick="btneduquestion_Click" />
                        </td>
                </tr>
            </table>
        </Template>
    </igmisc:WebPanel>
</asp:Content>

